rem modify the varables in this file to match your environment
set JAVA_HOME=C:\Program Files\Java\jdk1.7.0_21
set WSDL_URL=http://localhost:8080/ws-location/CustomerService?wsdl
set TARGET_DIR=C:\Users\Stagiaire\hotelsafcepf\ws-location\src\

rem cd /d "%~dp0"
"%JAVA_HOME%/bin/wsimport" -keep -d %TARGET_DIR% %WSDL_URL%

REM refresh eclipse